package com.wisevar.thirdplatform.gateway.remote;

public enum ResponseCode {
	SYS_SUC(200, "操作成功"),
	HTTP_METHOD_ERR(415, "HTTP METHOD 不正确"),
	SYS_ERR(500, "内部错误，请联系管理员"),
	BUSINESS_EXCEPTION(400, "业务异常"),
	MANY_TENANT(499, "用户多租户")
	;

	private Integer value;
	private String text;

	ResponseCode(Integer value, String text) {
		this.value = value;
		this.text = text;
	}

	public Integer getValue() {
		return value;
	}

	public void setValue(Integer value) {
		this.value = value;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}
}

